<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:65:"F:\cash\public/../application/merchant\view\config\store_add.html";i:1539587252;s:52:"F:\cash\application\merchant\view\public\header.html";i:1539165382;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>必普测试系统--商家中心</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <style type="text/css">
        html{height:100%}
        body{height:100%;margin:0px;padding:0px}
        #container{height:100%}
        #l-map{height:300px;width:100%;}
        #r-result{width:100%;}
    </style>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <script type="text/javascript" src="http://api.map.baidu.com/getscript?v=2.0&ak=VEFkGipUasieoRPNxaw6WMfcRdu1rDHW"></script>
    <link rel="stylesheet" href="/static/xadmin/css/font.css">
    <link rel="stylesheet" href="/static/xadmin/css/xadmin.css">
    <script type="text/javascript" src="/static/xadmin/js/jquery.min.js"></script>
    <script src="/static/xadmin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/xadmin/js/xadmin.js"></script>
    <!--ztree-->
    <link rel="stylesheet" href="/static/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <script type="text/javascript" src="/static/ztree/js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="/static/ztree/js/jquery.ztree.excheck.js"></script>
    <style>
        .container{
            background-color: #c81623;
        }
        .footer{
            background-color: #c81623;
        }
    </style>
    <script>
        drafting_pic_url = "<?php echo url('image/upload'); ?>"; //上传商户logo
        lang_map_url = "<?php echo url('config/map'); ?>"; //显示地图并获取用户经纬度
    </script>
</head>
<body>

<form class="layui-form" action="" attr-url = "<?php echo url('config/store_add'); ?>" style="margin-top: 20px;">
    <div class="layui-form-item">
        <label class="layui-form-label">店铺名称</label>
        <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否设置为主店</label>
        <div class="layui-input-block">
            <input type="radio" name="ismain" value="1" title="是">
            <input type="radio" name="ismain" value="0" title="否" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-inline">
            <input type="text" name="phone" value="" lay-verify="phone" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系微信</label>
        <div class="layui-input-inline">
            <input type="text" name="weixin" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系QQ</label>
        <div class="layui-input-inline">
            <input type="text" name="qq" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺经纬度</label>
        <div class="layui-input-inline">
            <input type="text" readonly="readonly" id="long_lat" name="long_lat" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
        <button class="layui-btn" type="button" onclick="lang_map()">点击获取经纬度</button>
    </div>
    <div class="layui-form-item layui-form-text" style="width: 50%;">
        <label class="layui-form-label">商家介绍</label>
        <div class="layui-input-block">
            <textarea name="txt_info" placeholder="请输入内容" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">店铺特色-</label>
        <div class="layui-input-inline">
            <input type="text" name="qq" lay-verify="require" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" type="submit" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

<script src="/static/admin/js/common.js"></script>